<!DOCTYPE html>
<!-- domSnapshot test for a document to include elements where the text colors have opacity  -->
<style>
  .test-item {
    display: inline-block;
    background-color: white;
    color: black;
    opacity: 0.5;
    padding: 20px;
  }
</style>
<span class="test-item">This is some test text</span>
